package com.zueb.pojo;

public class Registration {

    private Integer registrationId;
    private String username;
    private Integer userNumber;
    private Integer type;
    private Integer state;

    public Registration() {
    }

    public Registration(String username, Integer userNumber, Integer type, Integer state) {
        this.username = username;
        this.userNumber = userNumber;
        this.type = type;
        this.state = state;
    }

    public Integer getRegistrationId() {
        return registrationId;
    }

    public void setRegistrationId(Integer registrationId) {
        this.registrationId = registrationId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(Integer userNumber) {
        this.userNumber = userNumber;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Registration{" +
                "registrationId=" + registrationId +
                ", username='" + username + '\'' +
                ", userNumber=" + userNumber +
                ", type=" + type +
                ", state=" + state +
                '}';
    }
}
